// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.PatentSearchRecordDao;
import com.liuxinlong.modules.entity.PatentSearchRecord;
import com.liuxinlong.modules.mapper.PatentSearchRecordMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年9月12日
 */
@Service
public class PatentSearchRecordDaoImpl extends ServiceImpl<PatentSearchRecordMapper, PatentSearchRecord> implements PatentSearchRecordDao {

    @Override
    public List<PatentSearchRecord> pagePatentSearchList(Map<String, Object> queryParam) {
        return baseMapper.pagePatentSearchList(queryParam);
    }

    @Override
    public int getPatentSearchCount(Map<String, Object> queryParam) {
        return baseMapper.getPatentSearchCount(queryParam);
    }

    @Override
    public void deleteHistoryByUser(String userId) {
        baseMapper.deleteHistoryByUser(userId);
    }
}
